package com.yckj.day03;

/**
 * TODO continue跳出本次循环
 *
 * @author shengyuee
 * @version 1.0
 * 2025/7/18 14:24
 */
public class ContinueDemo {
    public static void main(String[] args) {
        int x = 2;
        while (x < 10) {
            x++;
            if(x == 5){
                continue;
            }
            System.out.println(x);

        }
    }
}
